package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.StockCompanyBean;

/**
* 描述：获取上市公司基础信息，单次提取4500条，可以根据交易所分批提取
* @author: codesmith
**/
@Data
@TableName("stock_company")
public class StockCompanyEntity implements StockCompanyBean {
    
    /*
    * 股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`exchange`") protected String exchange;

    @TableField("`chairman`") protected String chairman;

    @TableField("`manager`") protected String manager;

    @TableField("`secretary`") protected String secretary;

    @TableField("`reg_capital`") protected Double regCapital;

    @TableField("`setup_date`") protected LocalDate setupDate;

    @TableField("`province`") protected String province;

    @TableField("`city`") protected String city;

    @TableField("`introduction`") protected String introduction;

    @TableField("`website`") protected String website;

    @TableField("`email`") protected String email;

    @TableField("`office`") protected String office;

    @TableField("`employees`") protected Integer employees;

    @TableField("`main_business`") protected String mainBusiness;

    @TableField("`business_scope`") protected String businessScope;
}